package com.example.designpatterns.structural.facade;

import org.springframework.stereotype.Component;

/**
 * @author zuitu@foxmail.com
 * @date 2024/1/17
 * subsystem
 */
@Component
public class Computer {
    public void getElectricShock() {
        System.out.println("接通电源");
    }

    public void makeSound() {
        System.out.println("滴");
    }

    public void showLoadingScreen() {
        System.out.println("正在启动。。。");
    }

    public void bam() {
        System.out.println("启动完成");
    }

    public void closeApps() {
        System.out.println("关闭应用");
    }

    public void closeOS() {
        System.out.println("关闭系统");
    }
}
